package com.hilon.segment.jpa.controller;

import com.hilon.base.controller.BaseController;
import com.hilon.segment.jpa.entity.WorkShop;
import com.hilon.segment.jpa.service.WorkShopService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/work-shop")
public class WorkShopController extends BaseController<WorkShop> {
   private final WorkShopService workShopService;

    public WorkShopController(WorkShopService workShopService) {
        this.workShopService = workShopService;
        super.buildEntityHandleService(workShopService);
    }
}
